Skip to content

Fix syntax warnings and improve DNSdumpster error handling - #416

Open
thetowsif wants to merge 1 commit into
aboul3la:masterfrom
thetowsif:master
Open

Fix syntax warnings and improve DNSdumpster error handling#416
thetowsif wants to merge 1 commit into
aboul3la:masterfrom
thetowsif:master

Conversation

@thetowsif

Copy link
Copy Markdown
  • Fix invalid escape sequence warnings by using raw strings for regex patterns
  • Remove unnecessary escaping in HTML regex patterns
  • Add robust error handling for DNSdumpster CSRF token extraction
  • Improve graceful failure when CSRF token cannot be found
  • Add alternative CSRF token regex patterns for better compatibility

Fixes Python 3.12+ syntax warnings and prevents crashes when DNSdumpster structure changes.

- Fix invalid escape sequence warnings by using raw strings for regex patterns
- Remove unnecessary escaping in HTML regex patterns
- Add robust error handling for DNSdumpster CSRF token extraction
- Improve graceful failure when CSRF token cannot be found
- Add alternative CSRF token regex patterns for better compatibility

Fixes Python 3.12+ syntax warnings and prevents crashes when DNSdumpster
structure changes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant